//
//  StoreNameTableViewHeaderFooterView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/20.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "StoreNameTableViewHeaderFooterView.h"

@implementation StoreNameTableViewHeaderFooterView{
    GLGWLabel * storeNameLabel;
}

-(instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        GLGWView * bankViewView = [[GLGWView alloc] initWithInSuperView:self.contentView];
        bankViewView.backgroundColor = [UIColor whiteColor];
        [bankViewView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self).offset(0);
        }];
        storeNameLabel = [[GLGWLabel alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(50), kHeightProportion_In_iPhoneTriploid(10), KScreenWidth - kWidthProportion_In_iPhoneTriploid(65), kHeightProportion_In_iPhoneTriploid(17)) theFont:SYSTEMFONT(12) theColor:kColor_Rule_Black inSuperView:self];
//        storeNameLabel.backgroundColor = kRandomColor;
//        storeNameLabel.text = @"小张店铺";
        storeNameLabel.attributedText = [GLGWLabel addImageName:@"icon_dianpu_jinru" theImageFram:CGRectMake(0, -3, kWidthProportion_In_iPhoneTriploid(17), kHeightProportion_In_iPhoneTriploid(15)) theTextString:@" 小张店铺" atImageIndex:0];
    }
    return self;
}

@end
